STEP 9: Let's call our new function inside of main()! It should return the animal's type as a string.
- In , drag Function Call into Variable inside and to the bottom of main().
- Rewrite the function call so it looks like this:
- my_var·=·classify_animal(warm_blooded,·has_scales,·eggs_in_water,·has_hair,·animal)
- Finally, change the variable to the left of the = sign from my_var to animal_class.
To navigate the page using the TAB key, first press ESC to exit the code editor.